<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Doxygen: pcl::UnaryClassifier&lt; PointT &gt; 模板类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Doxygen
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('classpcl_1_1_unary_classifier.html',''); initResizable(); });
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="#pro-attribs">Protected 属性</a> &#124;
<a href="classpcl_1_1_unary_classifier-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">pcl::UnaryClassifier&lt; PointT &gt; 模板类 参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aa17330bb95171dc661078966e77f25d4"><td class="memItemLeft" align="right" valign="top"><a id="aa17330bb95171dc661078966e77f25d4"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_unary_classifier.html#aa17330bb95171dc661078966e77f25d4">UnaryClassifier</a> ()</td></tr>
<tr class="memdesc:aa17330bb95171dc661078966e77f25d4"><td class="mdescLeft">&#160;</td><td class="mdescRight">Constructor that sets default values for member variables. <br /></td></tr>
<tr class="separator:aa17330bb95171dc661078966e77f25d4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2bf8c9495c565cc2c637161d36ff064"><td class="memItemLeft" align="right" valign="top"><a id="ac2bf8c9495c565cc2c637161d36ff064"></a>
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_unary_classifier.html#ac2bf8c9495c565cc2c637161d36ff064">~UnaryClassifier</a> ()</td></tr>
<tr class="memdesc:ac2bf8c9495c565cc2c637161d36ff064"><td class="mdescLeft">&#160;</td><td class="mdescRight">This destructor destroys the cloud... <br /></td></tr>
<tr class="separator:ac2bf8c9495c565cc2c637161d36ff064"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25f5b661dacac2c2853a41e43a06cdea"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_unary_classifier.html#a25f5b661dacac2c2853a41e43a06cdea">setInputCloud</a> (typename <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::Ptr input_cloud)</td></tr>
<tr class="memdesc:a25f5b661dacac2c2853a41e43a06cdea"><td class="mdescLeft">&#160;</td><td class="mdescRight">This method sets the input cloud.  <a href="classpcl_1_1_unary_classifier.html#a25f5b661dacac2c2853a41e43a06cdea">更多...</a><br /></td></tr>
<tr class="separator:a25f5b661dacac2c2853a41e43a06cdea"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a44ac9f34527f832474160d2cdf2abaf7"><td class="memItemLeft" align="right" valign="top"><a id="a44ac9f34527f832474160d2cdf2abaf7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>train</b> (<a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_f_p_f_h_signature33.html">pcl::FPFHSignature33</a> &gt;::Ptr &amp;output)</td></tr>
<tr class="separator:a44ac9f34527f832474160d2cdf2abaf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac386d0653a8a842612ddc34455047b41"><td class="memItemLeft" align="right" valign="top"><a id="ac386d0653a8a842612ddc34455047b41"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>trainWithLabel</b> (std::vector&lt; <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_f_p_f_h_signature33.html">pcl::FPFHSignature33</a> &gt;, Eigen::aligned_allocator&lt; <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_f_p_f_h_signature33.html">pcl::FPFHSignature33</a> &gt; &gt; &gt; &amp;output)</td></tr>
<tr class="separator:ac386d0653a8a842612ddc34455047b41"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21bbe03955d1d8d7d183c700dfc4b906"><td class="memItemLeft" align="right" valign="top"><a id="a21bbe03955d1d8d7d183c700dfc4b906"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>segment</b> (<a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_l.html">pcl::PointXYZRGBL</a> &gt;::Ptr &amp;out)</td></tr>
<tr class="separator:a21bbe03955d1d8d7d183c700dfc4b906"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a468becfcc522dc4955089fb8eb6972d6"><td class="memItemLeft" align="right" valign="top"><a id="a468becfcc522dc4955089fb8eb6972d6"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>queryFeatureDistances</b> (std::vector&lt; <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_f_p_f_h_signature33.html">pcl::FPFHSignature33</a> &gt;::Ptr &gt; &amp;trained_features, <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_f_p_f_h_signature33.html">pcl::FPFHSignature33</a> &gt;::Ptr query_features, std::vector&lt; int &gt; &amp;indi, std::vector&lt; float &gt; &amp;dist)</td></tr>
<tr class="separator:a468becfcc522dc4955089fb8eb6972d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4b6976db00e3e1d995d4bb7b2181f4b7"><td class="memItemLeft" align="right" valign="top"><a id="a4b6976db00e3e1d995d4bb7b2181f4b7"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>assignLabels</b> (std::vector&lt; int &gt; &amp;indi, std::vector&lt; float &gt; &amp;dist, int n_feature_means, float feature_threshold, <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_l.html">pcl::PointXYZRGBL</a> &gt;::Ptr out)</td></tr>
<tr class="separator:a4b6976db00e3e1d995d4bb7b2181f4b7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a3afff0d73776bd78dd1d33c513bb91c9"><td class="memItemLeft" align="right" valign="top"><a id="a3afff0d73776bd78dd1d33c513bb91c9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setClusterSize</b> (unsigned int k)</td></tr>
<tr class="separator:a3afff0d73776bd78dd1d33c513bb91c9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a1b2004faa1eb88c9038a61a16a55b011"><td class="memItemLeft" align="right" valign="top"><a id="a1b2004faa1eb88c9038a61a16a55b011"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setNormalRadiusSearch</b> (float param)</td></tr>
<tr class="separator:a1b2004faa1eb88c9038a61a16a55b011"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00043dd7c4eac48955def5b33ee1f8cf"><td class="memItemLeft" align="right" valign="top"><a id="a00043dd7c4eac48955def5b33ee1f8cf"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setFPFHRadiusSearch</b> (float param)</td></tr>
<tr class="separator:a00043dd7c4eac48955def5b33ee1f8cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a58db25f1d55d920d1d72916dcd71aeeb"><td class="memItemLeft" align="right" valign="top"><a id="a58db25f1d55d920d1d72916dcd71aeeb"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setLabelField</b> (bool l)</td></tr>
<tr class="separator:a58db25f1d55d920d1d72916dcd71aeeb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a11be0af908c386f35e2d179acbbcafaa"><td class="memItemLeft" align="right" valign="top"><a id="a11be0af908c386f35e2d179acbbcafaa"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setTrainedFeatures</b> (std::vector&lt; <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_f_p_f_h_signature33.html">pcl::FPFHSignature33</a> &gt;::Ptr &gt; &amp;features)</td></tr>
<tr class="separator:a11be0af908c386f35e2d179acbbcafaa"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7375c9f70af46695665d3f31f4198855"><td class="memItemLeft" align="right" valign="top"><a id="a7375c9f70af46695665d3f31f4198855"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>setFeatureThreshold</b> (float threshold)</td></tr>
<tr class="separator:a7375c9f70af46695665d3f31f4198855"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:ad99343a8be3d6e3e1ab756556c6e50ef"><td class="memItemLeft" align="right" valign="top"><a id="ad99343a8be3d6e3e1ab756556c6e50ef"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>convertCloud</b> (typename <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::Ptr in, <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z.html">pcl::PointXYZ</a> &gt;::Ptr out)</td></tr>
<tr class="separator:ad99343a8be3d6e3e1ab756556c6e50ef"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac348017500788dc8c5b6916a2ead1231"><td class="memItemLeft" align="right" valign="top"><a id="ac348017500788dc8c5b6916a2ead1231"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>convertCloud</b> (typename <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::Ptr in, <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_l.html">pcl::PointXYZRGBL</a> &gt;::Ptr out)</td></tr>
<tr class="separator:ac348017500788dc8c5b6916a2ead1231"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aac0b106f3016bdcf46a36e5076a2dcdf"><td class="memItemLeft" align="right" valign="top"><a id="aac0b106f3016bdcf46a36e5076a2dcdf"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>findClusters</b> (typename <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::Ptr in, std::vector&lt; int &gt; &amp;cluster_numbers)</td></tr>
<tr class="separator:aac0b106f3016bdcf46a36e5076a2dcdf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad5b21e6fe879108bf0c08df80473ccbf"><td class="memItemLeft" align="right" valign="top"><a id="ad5b21e6fe879108bf0c08df80473ccbf"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>getCloudWithLabel</b> (typename <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::Ptr in, <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z.html">pcl::PointXYZ</a> &gt;::Ptr out, int label_num)</td></tr>
<tr class="separator:ad5b21e6fe879108bf0c08df80473ccbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a92417d2ba35662f0668cc1a122201fa5"><td class="memItemLeft" align="right" valign="top"><a id="a92417d2ba35662f0668cc1a122201fa5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>computeFPFH</b> (<a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z.html">pcl::PointXYZ</a> &gt;::Ptr in, <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_f_p_f_h_signature33.html">pcl::FPFHSignature33</a> &gt;::Ptr out, float normal_radius_search, float fpfh_radius_search)</td></tr>
<tr class="separator:a92417d2ba35662f0668cc1a122201fa5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aefc5857b46befa6eed01f8e55d02335c"><td class="memItemLeft" align="right" valign="top"><a id="aefc5857b46befa6eed01f8e55d02335c"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>kmeansClustering</b> (<a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_f_p_f_h_signature33.html">pcl::FPFHSignature33</a> &gt;::Ptr in, <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_f_p_f_h_signature33.html">pcl::FPFHSignature33</a> &gt;::Ptr out, int k)</td></tr>
<tr class="separator:aefc5857b46befa6eed01f8e55d02335c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-attribs"></a>
Protected 属性</h2></td></tr>
<tr class="memitem:a51f8a6a15d039a83c817167cd00a849a"><td class="memItemLeft" align="right" valign="top"><a id="a51f8a6a15d039a83c817167cd00a849a"></a>
<a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::Ptr&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classpcl_1_1_unary_classifier.html#a51f8a6a15d039a83c817167cd00a849a">input_cloud_</a></td></tr>
<tr class="memdesc:a51f8a6a15d039a83c817167cd00a849a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Contains the input cloud <br /></td></tr>
<tr class="separator:a51f8a6a15d039a83c817167cd00a849a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acf9fa275c00403cdecae35c3950ba36b"><td class="memItemLeft" align="right" valign="top"><a id="acf9fa275c00403cdecae35c3950ba36b"></a>
bool&#160;</td><td class="memItemRight" valign="bottom"><b>label_field_</b></td></tr>
<tr class="separator:acf9fa275c00403cdecae35c3950ba36b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a4c52746732e5022927986b89fea69ac7"><td class="memItemLeft" align="right" valign="top"><a id="a4c52746732e5022927986b89fea69ac7"></a>
unsigned int&#160;</td><td class="memItemRight" valign="bottom"><b>cluster_size_</b></td></tr>
<tr class="separator:a4c52746732e5022927986b89fea69ac7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab5efd183090c297f8f5b9d3e6d519045"><td class="memItemLeft" align="right" valign="top"><a id="ab5efd183090c297f8f5b9d3e6d519045"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>normal_radius_search_</b></td></tr>
<tr class="separator:ab5efd183090c297f8f5b9d3e6d519045"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad27abdbf475aef114cd7b9646affb78a"><td class="memItemLeft" align="right" valign="top"><a id="ad27abdbf475aef114cd7b9646affb78a"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>fpfh_radius_search_</b></td></tr>
<tr class="separator:ad27abdbf475aef114cd7b9646affb78a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab22fde4166b311f10e8432de1d4bfda4"><td class="memItemLeft" align="right" valign="top"><a id="ab22fde4166b311f10e8432de1d4bfda4"></a>
float&#160;</td><td class="memItemRight" valign="bottom"><b>feature_threshold_</b></td></tr>
<tr class="separator:ab22fde4166b311f10e8432de1d4bfda4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af4d144ddb1be06760a9e9a4451d18e60"><td class="memItemLeft" align="right" valign="top"><a id="af4d144ddb1be06760a9e9a4451d18e60"></a>
std::vector&lt; <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_f_p_f_h_signature33.html">pcl::FPFHSignature33</a> &gt;::Ptr &gt;&#160;</td><td class="memItemRight" valign="bottom"><b>trained_features_</b></td></tr>
<tr class="separator:af4d144ddb1be06760a9e9a4451d18e60"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<h2 class="groupheader">成员函数说明</h2>
<a id="a25f5b661dacac2c2853a41e43a06cdea"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a25f5b661dacac2c2853a41e43a06cdea">&#9670;&nbsp;</a></span>setInputCloud()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;typename PointT &gt; </div>
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="classpcl_1_1_unary_classifier.html">pcl::UnaryClassifier</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::setInputCloud </td>
          <td>(</td>
          <td class="paramtype">typename <a class="el" href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a>&lt; <a class="el" href="structpcl_1_1_point_x_y_z_r_g_b_a.html">PointT</a> &gt;::Ptr&#160;</td>
          <td class="paramname"><em>input_cloud</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>This method sets the input cloud. </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramdir">[in]</td><td class="paramname">input_cloud</td><td>input point cloud </td></tr>
  </table>
  </dd>
</dl>
<div class="fragment"><div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;{</div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160;  <span class="keywordflow">if</span> (<a class="code" href="classpcl_1_1_unary_classifier.html#a51f8a6a15d039a83c817167cd00a849a">input_cloud_</a> != NULL)</div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;    <a class="code" href="classpcl_1_1_unary_classifier.html#a51f8a6a15d039a83c817167cd00a849a">input_cloud_</a>.reset ();</div>
<div class="line"><a name="l00071"></a><span class="lineno">   71</span>&#160; </div>
<div class="line"><a name="l00072"></a><span class="lineno">   72</span>&#160;  <a class="code" href="classpcl_1_1_unary_classifier.html#a51f8a6a15d039a83c817167cd00a849a">input_cloud_</a> = input_cloud;</div>
<div class="line"><a name="l00073"></a><span class="lineno">   73</span>&#160; </div>
<div class="line"><a name="l00074"></a><span class="lineno">   74</span>&#160;  <a class="code" href="classpcl_1_1_point_cloud.html">pcl::PointCloud &lt;PointT&gt;</a> point;</div>
<div class="line"><a name="l00075"></a><span class="lineno">   75</span>&#160;  std::vector&lt;pcl::PCLPointField&gt; fields;</div>
<div class="line"><a name="l00076"></a><span class="lineno">   76</span>&#160; </div>
<div class="line"><a name="l00077"></a><span class="lineno">   77</span>&#160;  <span class="keywordtype">int</span> label_index = -1;</div>
<div class="line"><a name="l00078"></a><span class="lineno">   78</span>&#160;  label_index = <a class="code" href="group__common.html#ga2bc4b9a4e25de1d0b00db4e41f0ad682">pcl::getFieldIndex</a> (point, <span class="stringliteral">&quot;label&quot;</span>, fields);</div>
<div class="line"><a name="l00079"></a><span class="lineno">   79</span>&#160;  </div>
<div class="line"><a name="l00080"></a><span class="lineno">   80</span>&#160;  <span class="keywordflow">if</span> (label_index != -1)</div>
<div class="line"><a name="l00081"></a><span class="lineno">   81</span>&#160;    label_field_ = <span class="keyword">true</span>;</div>
<div class="line"><a name="l00082"></a><span class="lineno">   82</span>&#160;}</div>
<div class="ttc" id="aclasspcl_1_1_point_cloud_html"><div class="ttname"><a href="classpcl_1_1_point_cloud.html">pcl::PointCloud</a></div><div class="ttdoc">PointCloud represents the base class in PCL for storing collections of 3D points.</div><div class="ttdef"><b>Definition:</b> point_cloud.h:173</div></div>
<div class="ttc" id="aclasspcl_1_1_unary_classifier_html_a51f8a6a15d039a83c817167cd00a849a"><div class="ttname"><a href="classpcl_1_1_unary_classifier.html#a51f8a6a15d039a83c817167cd00a849a">pcl::UnaryClassifier::input_cloud_</a></div><div class="ttdeci">pcl::PointCloud&lt; PointT &gt;::Ptr input_cloud_</div><div class="ttdoc">Contains the input cloud</div><div class="ttdef"><b>Definition:</b> unary_classifier.h:151</div></div>
<div class="ttc" id="agroup__common_html_ga2bc4b9a4e25de1d0b00db4e41f0ad682"><div class="ttname"><a href="group__common.html#ga2bc4b9a4e25de1d0b00db4e41f0ad682">pcl::getFieldIndex</a></div><div class="ttdeci">int getFieldIndex(const pcl::PCLPointCloud2 &amp;cloud, const std::string &amp;field_name)</div><div class="ttdoc">Get the index of a specified field (i.e., dimension/channel)</div><div class="ttdef"><b>Definition:</b> io.h:59</div></div>
</div><!-- fragment -->
</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>segmentation/include/pcl/segmentation/<a class="el" href="unary__classifier_8h_source.html">unary_classifier.h</a></li>
<li>segmentation/include/pcl/segmentation/impl/<a class="el" href="unary__classifier_8hpp_source.html">unary_classifier.hpp</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><b>pcl</b></li><li class="navelem"><a class="el" href="classpcl_1_1_unary_classifier.html">UnaryClassifier</a></li>
    <li class="footer">制作者 <a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1 </li>
  </ul>
</div>
</body>
</html>
